package cn.yxvk.spring.security.oauth2.server.mapper;

import cn.yxvk.spring.security.oauth2.server.domain.TbPermission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.MyMapper;

import java.util.List;

/**
 * @author  yangxiang
 * @date  2019/10/31 10:03
 */
public interface TbPermissionMapper extends MyMapper<TbPermission> {
    List<TbPermission> selectByUserId(@Param("id") Long userId);
}